<?php echo $header; ?>
<div class="container"><?php echo $column_left; ?><?php echo $column_right; ?>
	<div id="content"><?php echo $content_top; ?>
    	<div class="breadcrumb">
      	<?php foreach ($breadcrumbs as $breadcrumb) { ?>
      	<?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
      	<?php } ?>
    </div>
    <!-- <h3><?php echo $heading_title; ?> </h3>-->
    
	<?php foreach ($categories as $category) { ?>
	<?php $article_list = $category['article_list'] ;?>
 	<?php if(!empty($article_list)) {?>
	<div class="box">
  		<div class="box-heading"><a href="<?php echo $category['href']; ?>"><?php echo $category['category_name']; ?></a></div>
 		<div class="box-content"> 			
 			<div class="restaurant-list" style="margin-left:8px">
		  		<div class="left">		  			
		  			<div class="image">
		  				<a href="<?php echo $article_list[0]['href'];?>" title="<?php echo $article_list[0]['title'];?>">
 							<img id="image" src="<?php echo $article_list[0]['image'];?>" 
 								title="<?php echo $article_list[0]['title'];?>" 
 								alt="<?php echo $article_list[0]['title'];?>"  /></a>
		  			</div>
		  			<div class="name">
		  				<a href="<?php echo $article_list[0]['href']; ?>"><?php echo $article_list[0]['title'];?></a>
		  			</div>
		  			<div class="description"><?php echo $article_list[0]['header'];?></div>
		  		</div>
			</div>
		   	<ul>
           		<?php for($i = 1; $i < sizeof($article_list); ++$i){ ?>
           			<?php if ($article_list[$i]['category_id'] == $category['category_id']) { ?>
           				<li><a href="<?php echo $article_list[$i]['href']; ?>"><?php echo $article_list[$i]['title']; ?></a></li>
           			<?php }?>
          		<?php }?>
            </ul>           
 		</div>
	</div>
	<?php }?>
	<?php }?>
  
    <?php echo $content_bottom; ?></div>
</div>
<?php echo $footer; ?>